ymkzpx

Success and failure are temporary.


  • Home

  • Archives

  • Tags

  • About

POJ2774 Long Long Message (后缀数组)

Posted on 2018-08-24 | In ACM , POJ , 后缀数组

求两个串的最长公共子串


题目链接

题解

  • 考虑后缀数组的 $height$ 数组
  • 两个字符串的最长公共子串肯定是 $height$ 中的一个
  • 找出最大 $height[i]$ 并且 $i$ 和 $i-1$ 分别属于两个字符串即可
# ACM # POJ # 后缀数组
WannaflyCamp day6
莫比乌斯反演学习笔记
  • Table of Contents
  • Overview
Kzpx

Kzpx

Hello the cruel world.

215 posts
133 categories
100 tags
GitHub
Links
  • CS-Notes
  • Ali-CsNotes
  • Deadline
  • luowentao
  • biubiubiu
  • Gstnt
  • ecnu
  • Lzy
  • Menci
  • kuangbin
  • meopass
  • tokitsukaze
  • cubercsl
  • Claris
  • hzwer
  • qscqesze
  • ICPCCamp
  • ZYF
  • xehoth
  • Ocean
  • MrBird_to_fly
  • starry_sky
  • Multi-school AC>=20
  • snowy_smile
  • fjzzq2002
  1. 1. 题解
© 2019 Kzpx
Powered by Hexo
|
Theme — NexT.Mist v5.1.4